0421f27f436c18915dc67873a9447e6c9641fbde,flies-clients/flies-client-ant-po/src/main/java/org/fedorahosted/flies/client/ant/po/PoTool.java,PoTool,processArgs,#,35

Before Change


      if (arguments.isEmpty())
      {
         help(System.out);
         System.exit(0);
      }
      String command = arguments.remove(0);
      if (command.equals("help"))

After Change


            System.exit(1);
         }
      }
      if (getHelp() && command == null)
      {
         printHelp(System.out);
         return;
      }
      if (version)
      {
         Utility.printJarVersion(System.out);
         return;
      }
      if ("help".equals(command))
      {
         setHelp(true);
         command = null;
         if (arguments.size() != 0)
            command = arguments.remove(0);
      }
      if (command == null)
      {
         printHelp(System.out);
         return;
      }
      String[] otherArgs = arguments.toArray(new String[0]);
      try
      {
         Class<? extends Subcommand> taskClass = commandMap.get(command);
         if (taskClass == null)
         {
            System.err.println("Unknown command '" + command + "'");
            printHelp(System.err);
            System.exit(1);
         }
         else
         {